<template>
  <div class="app-content-body fade-in-up ng-scope">
    <div class="fade-in ng-scope">
      <div class="wrapper-md ng-scope">
        <div class="panel panel-default">
          <div class="panel-heading">
            <strong>输入您要添加的用戶信息</strong>
          </div>
          <div class="panel-body">
            <userForm v-on:addSuccessState="addSuccessState" :type="'add'"/>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
  import UserForm from './form.vue'

  export default{
    components: {
      UserForm
    },
    methods: {
      addSuccessState(){
        this.$emit('addSuccessState');
      }
    }
  }
</script>
